#ifndef ROBOTFILE
#define ROBOTFILE
#include "robotCommon.h"

#ifdef __cplusplus 
extern "C"
{
#endif

GENESDK_API HRESULT FTPGetFileList(void *handle, const char *dirName, FileInfo ** info, int *num);
GENESDK_API HRESULT FTPDelFile(void *handle, const char *fileName);
GENESDK_API HRESULT FTPRenameFile(void *handle, const char *oldName, const char *newName);
GENESDK_API HRESULT FTPMoveFile(void *handle, const char *oldPath, const char *newPath);
GENESDK_API HRESULT FTPDownloadToFile(void *handle, const char *remoteFile, const char *localFile);
GENESDK_API HRESULT FTPDownloadToBuffer(void *handle, const char *remoteFile, char **buffer, long *size);
GENESDK_API HRESULT FTPUploadFromFile(void *handle, const char *remoteFile, const char *localFile);
GENESDK_API HRESULT FTPUploadFromBuffer(void *handle, const char *remoteFile, const char *buffer, long size);
GENESDK_API HRESULT FTPMakeDirectory(void *handle, const char *remotePath);
GENESDK_API HRESULT FTPDelDirectory(void *handle, const char *remotePath);

#ifdef __cplusplus
}
#endif
#endif // !ROBOTFILE